answer printer
Type
command
Summary
Displays the appropriate printer selection dialog for the platform.
Syntax
answer printer [as sheet]
Description
Use the answer printer command to select a printer and set standard printing options for later printing.
The answer printer command displays a dialog box where the user can set certain print-related properties.
If the systemPrintSelector property is false or the system does not support native print dialogs a stack named "Printer Dialog" will be used. If the systemPrintSelector property is true then a dialog will be displayed by the operating system, in this case the exact options are determined by the printer driver and the operating system.
If the user does not cancel the dialog, upon return the printer setting properties will be updated to reflect their choices.
Examples
answer printer
if the commandKey is down then
answer printer
end if
Related
command: reset printing, answer page setup, print, revPrintText, revPrintField, open printing, answer, revShowPrintDialog
glossary: command, dialog box, property
property: printerFeatures, printCopies, printPaperOrientation, printerSettings, properties, printPaperSize, availablePrinters, printerOutput, printPaperScale, systemPrintSelector, printRotated, printPaperRectangle, printRectangle, printMargins, printRanges, printerName, formatForPrinting
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
Platforms
desktop